.w {
    width: 1240px;
    margin: 0 auto;
}

/* 头部盒子样式 */
header {
    width: 100%;
    height: 132px;
    background-color: #fff;
}

/* 版心盒子 */
.container {
    display: flex;
    height: 132px;
}

/* log样式 */
.container h1 {
    width: 200px;
    height: 132px;
    font-size: 0;
    cursor: pointer;
    background: url(http://megasu.gitee.io/rabbit-vue3-ts/assets/logo.30c5f706.png) no-repeat center 18px / contain;
}

/* 欢迎登录 */
.container h2 {
    font-size: 24px;
    font-weight: 400;
    margin-left: 20px;
    margin-top: 62px;
    color: #666666;
    width: 900px;
}

/* 跳转到主页 */
.container .skipHomepage {
    flex: 1;
    color: #333;
    font-size: 16px;
    line-height: 132px;
}

/* 右边小箭头 */
.container .skipHomepage i {
    font-size: 14px;
    letter-spacing: -10px;
    color: #27ba9b;
}

/* <!-- 中间登录部分 --> */
section {
    width: 100%;
    color: #333;
    height: 488px;
    background: url(http://megasu.gitee.io/rabbit-vue3-ts/assets/login-bg.30c2a33a.png) no-repeat center;
    position: relative;
}

/* 登录大盒子 */
.registerBox {
    width: 380px;
    background-color: #fff;
    position: absolute;
    left: 56.6%;
    top: 54px;
    box-shadow: 0 0 10px #00000026;
}

/* 上面的文字 */
.registerBox .topNav {
    height: 55px;
    padding: 0 40px;
    line-height: 55px;
    text-align: center;
    border-bottom: 1px solid #f5f5f5;
    margin-bottom: 20px;
    font-size: 18px;
}

.accountBox {
    width: 100%;
    height: 282px;

}

/* form部分 */
.accountBox .form {
    padding: 0 20px;
}

.accountBox .form>div {
    margin-bottom: 28px;
}

.name,
.password {
    height: 36px;
    position: relative;
}

/* 字体图标样式 */
.registerBox .accountBox .form i {
    width: 34px;
    height: 34px;
    background-color: #cfcdcd;
    color: #fff;
    text-align: center;
    line-height: 34px;
    position: absolute;
    top: 1px;
    left: 1px;
}

/* 输入框 */
.name input,
.password input {
    width: 100%;
    height: 36px;
    padding-left: 44px;
    border: 1px solid #cfcdcd;
}

::placeholder {
    color: #cfcdcd;
    /* 修改placeholder文字颜色为红色 */
}

.hook {
    height: 22px;
    font-size: 14px;
    display: flex;
    align-items: center
}

.hook input {
    width: 16px;
    height: 16px;
    margin-right: 5px;
    background-color: #fff;
}

/* 同意复选框 */
.hook a {
    color: #069;
}

/* 登录按钮 */
.form .btn {
    width: 100%;
    height: 40px;
    background-color: #27ba9b;
    border: none;
    color: #fff;
}

/* 下面qq部分 */
.qq {
    height: 64px;
    width: 100%;
    padding: 20px 40px;
    font-size: 14px;
}

.qq>a {
    float: left;
}

.url {
    float: right;
}

.url>a {
    margin-left: 10px;
}

/* 尾部 */
footer {
    width: 100%;
    height: 160px;
    text-align: center;
    padding: 50px 0;
    font-size: 14px;
    color: #999;
}

footer a {
    padding: 0 10px;
    height: 14px;
    display: inline-block;
    border-right: 1px solid #999;
    line-height: 14px;
}

footer a:nth-child(7) {
    border-right: none;
}

footer p:nth-child(2) {
    margin-top: 20px;
}

/* 用户输入判断 弹出警告框 */
.user {
    width: 300px;
    height: 50px;
    border: 1px solid #faecd8;
    background-color: #fdf6ec;
    border-radius: 5px;
    color: #e6a23c;
    font-size: 14px;
    padding-left: 20px;
    line-height: 50px;
    position: fixed;
    z-index: 9999;
    left: 50%;
    margin-left: -150px;
    transition: all 0.5s;
}



.userNone {
    top: 0px;
    opacity: 0
}

.userBlock {
    top: 40px;
    opacity: 1
}

.user i {
    color: #e6a23c;
    font-size: 14px;
}